package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
public class AddPrivilegeRequest {

    @ApiModelProperty("藏品id")
    @NotNull(message = "藏品id不能为空")
    private Long collectionId;
    @ApiModelProperty("特权名称")
    @NotBlank(message = "特权名称不能为空")
    private String name;

    @ApiModelProperty("特权等级")
    @NotNull(message = "特权等级不能为空")
    private Integer level;

    @ApiModelProperty("优先购次数")
    @NotNull(message = "优先购次数不能为空")
    private Integer firstPayTime;

    @ApiModelProperty("转赠手续费折扣")
    @NotNull(message = "转赠手续费折扣不能为空")
    private BigDecimal transferDiscount;

    @ApiModelProperty("是否有空投")
    @NotNull(message = "请设置是否有空投")
    private Boolean isAirdrop;
    @ApiModelProperty("是否有热门ip分成")
    @NotNull(message = "请设置是否有热门ip分成")
    private Boolean isIpShare;
}
